import React, { Component } from 'react'
import moment from 'moment'
export default class index extends Component {
    render() {
        return (
            <div>
            </div>
        )
    }
}
export const dateFormat = (value, format) => {
    format = format || 'YYYY-MM-DD'
    if (!value) return value;
    return moment(value).format(format)
}